package java_DesignPattern.BehavioralPattern.ObserverPattern;

// 微信用户类---具体的观察者类
public class WXUser implements Observer{

    private String name;

    public WXUser(String name){
        this.name = name;
    }

    @Override
    public void update() {
        System.out.println("微信用户收到更新通知");
    }
}
